package ru.mirent.entity.listeners.allure;

import io.qameta.allure.listener.TestLifecycleListener;
import io.qameta.allure.model.TestResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class CustomTestLifecycleListener implements TestLifecycleListener {
    private static final Logger LOG = LoggerFactory.getLogger(CustomTestLifecycleListener.class);
    public void beforeTestSchedule(TestResult result) {
        LOG.info("beforeTestSchedule");
    }

    public void afterTestSchedule(TestResult result) {
        LOG.info("afterTestSchedule");
    }

    public void beforeTestUpdate(TestResult result) {
        LOG.info("beforeTestUpdate");
    }

    public void afterTestUpdate(TestResult result) {
        LOG.info("afterTestUpdate");
    }

    public void beforeTestStart(TestResult result) {
        LOG.info("beforeTestStart");
    }

    public void afterTestStart(TestResult result) {
        LOG.info("afterTestStart");
    }

    public void beforeTestStop(TestResult result) {
        LOG.info("beforeTestStop");
    }

    public void afterTestStop(TestResult result) {
        LOG.info("afterTestStop");
    }

    public void beforeTestWrite(TestResult result) {
        LOG.info("beforeTestWrite");
    }

    public void afterTestWrite(TestResult result) {
        LOG.info("afterTestWrite");
    }
}
